import request from "@/router/axios";

export const getList = (current, size, params) => {
  return request({
    url: "/admin/rechargerecord/page",
    method: "get",
    params: {
      ...params,
      current,
      size,
    },
  });
};
export const summary = (current, size, params) => {
  return request({
    url: "/admin/profitsharerbill/summary",
    method: "get",
    params: {
      ...params,
      current,
      size,
    },
  });
};
export const updateSettled = (row) => {
  return request({
    url: "/admin/profitsharerbill/updateSettled",
    method: "post",
    data: row,
  });
};
